<%--
  Created by IntelliJ IDEA.
  User: 栋
  Date: 2022/11/29
  Time: 16:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%@include file="/pages/base/base.jsp"%>
</head>
<body>
<div class="container">
    <%@include file="/pages/base/head.jsp"%>
    <div class="updateContent">
        <div class="errorMsg">
            ${empty requestScope.msg?"请修改信息":requestScope.msg}
        </div>
        <form action="userServlet">
            <input type="hidden" name="action" value="updateInfor">
            <div class="row">
                <div class="col-25">
                    <label for="user_id">编号</label>
                </div>
                <div class="col-75">
                    <input disabled="disabled" type="text" id="user_id" name="user_id" value=${sessionScope.user.user_id} >
                </div>
            </div>
            <div class="row">
                <div class="col-25">
                    <label for="phoneNumber">手机号</label>
                </div>
                <div class="col-75">
                    <input disabled="disabled" type="text" id="phoneNumber" name="phoneNumber" value=${sessionScope.user.phone_number}>
                </div>
            </div>
            <div class="row">
                <div class="col-25">
                    <label for="user_name">用户名</label>
                </div>
                <div class="col-75">
                    <input disabled="disabled" type="text" id="user_name" name="user_name" value=${sessionScope.user.user_name}>
                </div>
            </div>
            <div class="row">
                <div class="col-25">
                    <label for="sex">性别</label>
                </div>
                <div class="col-75">
                    <input disabled="disabled" type="text" id="sex" name="sex" value=${sessionScope.user.sex}>
                </div>
            </div>


            <div class="row">
                <div class="col-25">
                    <label for="stu_id">用户学号</label>
                </div>
                <div class="col-75">
                    <input disabled="disabled" type="text" id="stu_id" name="stu_id" value="${sessionScope.user.stu_number}">
                </div>
            </div>
            <div class="row">
                <div class="col-25">
                    <label for="credit_number">银行卡号</label>
                </div>
                <div class="col-75">
                    <input type="text" disabled="disabled" id="credit_number" name="credit_number" value="${sessionScope.user.credit_number}">
                </div>
            </div>
            <div class="row">
                <div class="col-25">
                    <label for="introduce">个人简介</label>
                </div>
                <div class="col-75">
                    <input type="text"  id="introduce" name="introduce" value="${sessionScope.user.introduce}">
                </div>
            </div>
            <div class="row">
                <div class="col-25">
                    <label for="address">默认地址</label>
                </div>
                <div class="col-75">
                    <input type="text" required id="address" name="address" value="${sessionScope.user.address}">
                </div>
            </div>
            <div class="row">
                <input type="submit" value="提交">
            </div>
        </form>
    </div>

</div>
</body>
</html>
